home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 1 / MacMania 1.toast / Educational / Sciences / Acid⁄Base Ident. Lab / card_5541.txt < prev    next >
Text File  |  1990-06-19  |  20KB  |  1,010 lines

  1. -- card: 5541 from stack: in. Lab
  2. -- bmap block id: 5845
  3. -- flags: 0000
  4. -- background id: 2568
  5. -- name: quiz
  6. ----- HyperTalk script -----
  7. on opencard
  8.   --show card field id 40
  9. end opencard
  10.  
  11.  
  12.  
  13. -- part 2 (button)
  14. -- low flags: 00
  15. -- high flags: 0000
  16. -- rect: left=39 top=22 right=80 bottom=77
  17. -- title width / last selected line: 0
  18. -- icon id / first selected line: 0 / 0
  19. -- text alignment: 1
  20. -- font id: 0
  21. -- text size: 12
  22. -- style flags: 0
  23. -- line height: 16
  24. -- part name: answerA
  25. ----- HyperTalk script -----
  26. on mouseUp
  27.   GLOBAL tb
  28.   hide card field id 40
  29.   get the short name of the target
  30.   put it into tb
  31.   if  card field tb <> empty  then
  32.     dim
  33.     dimmer2
  34.     exit mouseup
  35.   end if
  36.  
  37.  
  38.   dimmer2
  39.  
  40. end mouseUp
  41.  
  42.  
  43.  
  44. -- part 3 (button)
  45. -- low flags: 00
  46. -- high flags: 0000
  47. -- rect: left=39 top=81 right=139 bottom=77
  48. -- title width / last selected line: 0
  49. -- icon id / first selected line: 0 / 0
  50. -- text alignment: 1
  51. -- font id: 0
  52. -- text size: 12
  53. -- style flags: 0
  54. -- line height: 16
  55. -- part name: answerb
  56. ----- HyperTalk script -----
  57. on mouseUp
  58.   GLOBAL tb
  59.   get the short name of the target
  60.   put it into tb
  61.   if  card field tb is not empty  then
  62.     dim
  63.     dimmer2
  64.     exit mouseup
  65.   end if
  66.  
  67.  
  68.   dimmer2
  69. end mouseUp
  70.  
  71.  
  72.  
  73. -- part 4 (button)
  74. -- low flags: 00
  75. -- high flags: 0000
  76. -- rect: left=39 top=143 right=201 bottom=77
  77. -- title width / last selected line: 0
  78. -- icon id / first selected line: 0 / 0
  79. -- text alignment: 1
  80. -- font id: 0
  81. -- text size: 12
  82. -- style flags: 0
  83. -- line height: 16
  84. -- part name: answerC
  85. ----- HyperTalk script -----
  86. on mouseUp
  87.   GLOBAL tb
  88.   get the short name of the target
  89.   put it into tb
  90.   if  card field tb <> empty  then
  91.     dim
  92.     dimmer2
  93.     exit mouseup
  94.   end if
  95.  
  96.  
  97.   dimmer2
  98. end mouseUp
  99.  
  100.  
  101.  
  102. -- part 5 (button)
  103. -- low flags: 00
  104. -- high flags: 0000
  105. -- rect: left=39 top=203 right=261 bottom=77
  106. -- title width / last selected line: 0
  107. -- icon id / first selected line: 0 / 0
  108. -- text alignment: 1
  109. -- font id: 0
  110. -- text size: 12
  111. -- style flags: 0
  112. -- line height: 16
  113. -- part name: answerD
  114. ----- HyperTalk script -----
  115. on mouseup
  116.  
  117.   GLOBAL tb
  118.  
  119.   get the short name of the target
  120.   put it into tb
  121.   if  card field tb <> empty  then
  122.     dim
  123.     dimmer2
  124.     exit mouseup
  125.   end if
  126.  
  127.  
  128.   dimmer2
  129. end mouseUp
  130.  
  131.  
  132.  
  133. -- part 6 (button)
  134. -- low flags: 00
  135. -- high flags: 0000
  136. -- rect: left=39 top=266 right=324 bottom=77
  137. -- title width / last selected line: 0
  138. -- icon id / first selected line: 0 / 0
  139. -- text alignment: 1
  140. -- font id: 0
  141. -- text size: 12
  142. -- style flags: 0
  143. -- line height: 16
  144. -- part name: answerE
  145. ----- HyperTalk script -----
  146.  
  147. on mouseup
  148.   GLOBAL tb
  149.   get the short name of the target
  150.   put it into tb
  151.   if  card field tb is not empty  then
  152.     dim
  153.     dimmer2
  154.     exit mouseup
  155.   end if
  156.  
  157.  
  158.   dimmer2
  159. end mouseUp
  160.  
  161.  
  162.  
  163. -- part 12 (field)
  164. -- low flags: 01
  165. -- high flags: 0002
  166. -- rect: left=80 top=45 right=69 bottom=240
  167. -- title width / last selected line: 0
  168. -- icon id / first selected line: 0 / 0
  169. -- text alignment: 0
  170. -- font id: 3
  171. -- text size: 12
  172. -- style flags: 256
  173. -- line height: 16
  174. -- part name: ANSWERA
  175.  
  176.  
  177. -- part 13 (field)
  178. -- low flags: 01
  179. -- high flags: 0002
  180. -- rect: left=79 top=104 right=128 bottom=240
  181. -- title width / last selected line: 0
  182. -- icon id / first selected line: 0 / 0
  183. -- text alignment: 0
  184. -- font id: 3
  185. -- text size: 12
  186. -- style flags: 256
  187. -- line height: 16
  188. -- part name: ANSWERB
  189.  
  190.  
  191. -- part 14 (field)
  192. -- low flags: 01
  193. -- high flags: 0002
  194. -- rect: left=80 top=166 right=189 bottom=240
  195. -- title width / last selected line: 0
  196. -- icon id / first selected line: 0 / 0
  197. -- text alignment: 0
  198. -- font id: 3
  199. -- text size: 12
  200. -- style flags: 256
  201. -- line height: 16
  202. -- part name: ANSWERC
  203.  
  204.  
  205. -- part 15 (field)
  206. -- low flags: 01
  207. -- high flags: 0002
  208. -- rect: left=80 top=227 right=251 bottom=241
  209. -- title width / last selected line: 0
  210. -- icon id / first selected line: 0 / 0
  211. -- text alignment: 0
  212. -- font id: 3
  213. -- text size: 12
  214. -- style flags: 256
  215. -- line height: 16
  216. -- part name: ANSWERD
  217.  
  218.  
  219. -- part 16 (field)
  220. -- low flags: 01
  221. -- high flags: 0002
  222. -- rect: left=80 top=288 right=310 bottom=240
  223. -- title width / last selected line: 0
  224. -- icon id / first selected line: 0 / 0
  225. -- text alignment: 0
  226. -- font id: 3
  227. -- text size: 12
  228. -- style flags: 256
  229. -- line height: 16
  230. -- part name: ANSWERE
  231.  
  232.  
  233. -- part 17 (button)
  234. -- low flags: 00
  235. -- high flags: 0006
  236. -- rect: left=250 top=35 right=53 bottom=489
  237. -- title width / last selected line: 0
  238. -- icon id / first selected line: 0 / 0
  239. -- text alignment: 1
  240. -- font id: 0
  241. -- text size: 12
  242. -- style flags: 0
  243. -- line height: 16
  244. -- part name: Hydrochloric Acid
  245. ----- HyperTalk script -----
  246. on mouseUp
  247.   global hold
  248.   global tb
  249.   hide card field id 40
  250.   if tb = empty then
  251.     show card field bottle
  252.     wait 2 second
  253.     hide card field bottle
  254.     exit mouseup
  255.   end if
  256.  
  257.   set the highlight of button id 17 to true
  258.   get the short name of the target
  259.  
  260.   put it into hold
  261.   put hold into card field tb
  262.   wait 30
  263.   set the highlight of button id 17 to false
  264.   put empty into tb
  265.   dimmer2
  266. end mouseUp
  267.  
  268.  
  269.  
  270. -- part 19 (button)
  271. -- low flags: 00
  272. -- high flags: 0006
  273. -- rect: left=250 top=53 right=71 bottom=489
  274. -- title width / last selected line: 0
  275. -- icon id / first selected line: 0 / 0
  276. -- text alignment: 1
  277. -- font id: 0
  278. -- text size: 12
  279. -- style flags: 0
  280. -- line height: 16
  281. -- part name: Water
  282. ----- HyperTalk script -----
  283. on mouseUp
  284.   global hold
  285.   global tb
  286.   if tb = empty then
  287.     show card field bottle
  288.     wait 2 second
  289.     hide card field bottle
  290.     exit mouseup
  291.   end if
  292.  
  293.   set the highlight of button id 19 to true
  294.   get the short name of the target
  295.  
  296.   put it into hold
  297.   put hold into card field tb
  298.   wait 30
  299.   set the highlight of button id 19 to false
  300.   put empty into tb
  301.   dimmer2
  302. end mouseUp
  303.  
  304.  
  305.  
  306. -- part 20 (button)
  307. -- low flags: 00
  308. -- high flags: 0006
  309. -- rect: left=250 top=71 right=89 bottom=489
  310. -- title width / last selected line: 0
  311. -- icon id / first selected line: 0 / 0
  312. -- text alignment: 1
  313. -- font id: 0
  314. -- text size: 12
  315. -- style flags: 0
  316. -- line height: 16
  317. -- part name: Sodium Hydroxide
  318. ----- HyperTalk script -----
  319. on mouseUp
  320.   global hold
  321.   global tb
  322.   if tb = empty then
  323.     show card field bottle
  324.     wait 2 second
  325.     hide card field bottle
  326.     exit mouseup
  327.   end if
  328.  
  329.   set the highlight of button id 20 to true
  330.   get the short name of the target
  331.  
  332.   put it into hold
  333.   put hold into card field tb
  334.   wait 30
  335.   set the highlight of button id 20 to false
  336.   put empty into tb
  337.   dimmer2
  338. end mouseUp
  339.  
  340.  
  341.  
  342. -- part 21 (button)
  343. -- low flags: 00
  344. -- high flags: 0006
  345. -- rect: left=250 top=89 right=107 bottom=489
  346. -- title width / last selected line: 0
  347. -- icon id / first selected line: 0 / 0
  348. -- text alignment: 1
  349. -- font id: 0
  350. -- text size: 12
  351. -- style flags: 0
  352. -- line height: 16
  353. -- part name: Acetic Acid
  354. ----- HyperTalk script -----
  355. on mouseUp
  356.  
  357.   global hold
  358.   global tb
  359.   if tb = empty then
  360.     show card field bottle
  361.     wait 2 second
  362.     hide card field bottle
  363.     exit mouseup
  364.   end if
  365.  
  366.   set the highlight of button id 21 to true
  367.   get the short name of the target
  368.  
  369.   put it into hold
  370.   put hold into card field tb
  371.   wait 30
  372.   set the highlight of button id 21 to false
  373.   put empty into tb
  374.   dimmer2
  375. end mouseUp
  376.  
  377.  
  378.  
  379.  
  380. -- part 22 (button)
  381. -- low flags: 00
  382. -- high flags: 0006
  383. -- rect: left=250 top=109 right=127 bottom=489
  384. -- title width / last selected line: 0
  385. -- icon id / first selected line: 0 / 0
  386. -- text alignment: 1
  387. -- font id: 0
  388. -- text size: 12
  389. -- style flags: 0
  390. -- line height: 16
  391. -- part name: Ammonium Hydroxide
  392. ----- HyperTalk script -----
  393. on mouseUp
  394.   global hold
  395.   global tb
  396.   if tb = empty then
  397.     show card field bottle
  398.     wait 2 second
  399.     hide card field bottle
  400.     exit mouseup
  401.   end if
  402.  
  403.   set the highlight of button id 22 to true
  404.   get the short name of the target
  405.  
  406.   put it into hold
  407.   put hold into card field tb
  408.   wait 30
  409.   set the highlight of button id 22 to false
  410.   put empty into tb
  411.   dimmer2
  412. end mouseUp
  413.  
  414.  
  415.  
  416. -- part 23 (button)
  417. -- low flags: 00
  418. -- high flags: 0006
  419. -- rect: left=250 top=127 right=145 bottom=489
  420. -- title width / last selected line: 0
  421. -- icon id / first selected line: 0 / 0
  422. -- text alignment: 1
  423. -- font id: 0
  424. -- text size: 12
  425. -- style flags: 0
  426. -- line height: 16
  427. -- part name: Sodium Chloride
  428. ----- HyperTalk script -----
  429. on mouseUp
  430.   global hold
  431.   global tb
  432.   if tb = empty then
  433.     show card field bottle
  434.     wait 2 second
  435.     hide card field bottle
  436.     exit mouseup
  437.   end if
  438.  
  439.   set the highlight of button id 23 to true
  440.   get the short name of the target
  441.  
  442.   put it into hold
  443.   put hold into card field tb
  444.   wait 30
  445.   set the highlight of button id 23 to false
  446.   put empty into tb
  447.   dimmer2
  448. end mouseUp
  449.  
  450.  
  451.  
  452. -- part 24 (button)
  453. -- low flags: 00
  454. -- high flags: 0006
  455. -- rect: left=250 top=146 right=164 bottom=489
  456. -- title width / last selected line: 0
  457. -- icon id / first selected line: 0 / 0
  458. -- text alignment: 1
  459. -- font id: 0
  460. -- text size: 12
  461. -- style flags: 0
  462. -- line height: 16
  463. -- part name: Sucrose
  464. ----- HyperTalk script -----
  465. on mouseUp
  466.   global hold
  467.   global tb
  468.   if tb = empty then
  469.     show card field bottle
  470.     wait 2 second
  471.     hide card field bottle
  472.     exit mouseup
  473.   end if
  474.  
  475.   set the highlight of button id 24 to true
  476.   get the short name of the target
  477.  
  478.   put it into hold
  479.   put hold into card field tb
  480.   wait 30
  481.   set the highlight of button id 24 to false
  482.   put empty into tb
  483.   dimmer2
  484. end mouseUp
  485.  
  486.  
  487.  
  488. -- part 26 (field)
  489. -- low flags: 81
  490. -- high flags: 0002
  491. -- rect: left=255 top=167 right=310 bottom=462
  492. -- title width / last selected line: 0
  493. -- icon id / first selected line: 0 / 0
  494. -- text alignment: 0
  495. -- font id: 3
  496. -- text size: 14
  497. -- style flags: 256
  498. -- line height: 18
  499. -- part name: bottle
  500.  
  501.  
  502. -- part 27 (button)
  503. -- low flags: 00
  504. -- high flags: A004
  505. -- rect: left=448 top=1 right=25 bottom=512
  506. -- title width / last selected line: 0
  507. -- icon id / first selected line: 0 / 0
  508. -- text alignment: 1
  509. -- font id: 0
  510. -- text size: 12
  511. -- style flags: 0
  512. -- line height: 16
  513. -- part name: Clear
  514. ----- HyperTalk script -----
  515. on mouseUp
  516.   global tb
  517.   global count1,count2
  518.   show card field id 40
  519.   put 12 into count1
  520.   put 17 into count2
  521.   put empty into tb
  522.   dimmer3
  523.   dimmer4
  524.   set the name of card button id 33 to "Show Answers"
  525.   put 34 into zz
  526.   repeat until zz= 39
  527.     put empty into card field  id zz
  528.     add 1 to zz
  529.   end repeat
  530.  
  531.  
  532. end mouseUp
  533.  
  534.  
  535.  
  536. -- part 28 (button)
  537. -- low flags: 00
  538. -- high flags: 0000
  539. -- rect: left=79 top=43 right=71 bottom=235
  540. -- title width / last selected line: 0
  541. -- icon id / first selected line: 0 / 0
  542. -- text alignment: 1
  543. -- font id: 0
  544. -- text size: 12
  545. -- style flags: 0
  546. -- line height: 16
  547. -- part name: New Button
  548. ----- HyperTalk script -----
  549. on mouseUp
  550.   send mouseup to button "answerA"
  551. end mouseUp
  552.  
  553.  
  554.  
  555. -- part 29 (button)
  556. -- low flags: 00
  557. -- high flags: 0000
  558. -- rect: left=79 top=102 right=130 bottom=235
  559. -- title width / last selected line: 0
  560. -- icon id / first selected line: 0 / 0
  561. -- text alignment: 1
  562. -- font id: 0
  563. -- text size: 12
  564. -- style flags: 0
  565. -- line height: 16
  566. -- part name: New Button
  567. ----- HyperTalk script -----
  568. on mouseUp
  569.   send mouseup to button "answerB"
  570. end mouseUp
  571.  
  572.  
  573.  
  574. -- part 30 (button)
  575. -- low flags: 00
  576. -- high flags: 0000
  577. -- rect: left=79 top=164 right=192 bottom=235
  578. -- title width / last selected line: 0
  579. -- icon id / first selected line: 0 / 0
  580. -- text alignment: 1
  581. -- font id: 0
  582. -- text size: 12
  583. -- style flags: 0
  584. -- line height: 16
  585. -- part name: New Button
  586. ----- HyperTalk script -----
  587. on mouseUp
  588.   send mouseup to button "answerC"
  589. end mouseUp
  590.  
  591.  
  592.  
  593. -- part 31 (button)
  594. -- low flags: 00
  595. -- high flags: 0000
  596. -- rect: left=79 top=226 right=254 bottom=235
  597. -- title width / last selected line: 0
  598. -- icon id / first selected line: 0 / 0
  599. -- text alignment: 1
  600. -- font id: 0
  601. -- text size: 12
  602. -- style flags: 0
  603. -- line height: 16
  604. -- part name: New Button
  605. ----- HyperTalk script -----
  606. on mouseUp
  607.   send mouseup to button "answerD"
  608. end mouseUp
  609.  
  610.  
  611.  
  612. -- part 32 (button)
  613. -- low flags: 00
  614. -- high flags: 0000
  615. -- rect: left=79 top=286 right=314 bottom=235
  616. -- title width / last selected line: 0
  617. -- icon id / first selected line: 0 / 0
  618. -- text alignment: 1
  619. -- font id: 0
  620. -- text size: 12
  621. -- style flags: 0
  622. -- line height: 16
  623. -- part name: New Button
  624. ----- HyperTalk script -----
  625. on mouseUp
  626.   send mouseup to button "answerE"
  627. end mouseUp
  628.  
  629.  
  630.  
  631. -- part 33 (button)
  632. -- low flags: 00
  633. -- high flags: 8004
  634. -- rect: left=241 top=312 right=341 bottom=353
  635. -- title width / last selected line: 0
  636. -- icon id / first selected line: 0 / 0
  637. -- text alignment: 1
  638. -- font id: 0
  639. -- text size: 12
  640. -- style flags: 0
  641. -- line height: 16
  642. -- part name: Show Answers
  643. ----- HyperTalk script -----
  644. on mouseUp
  645.  
  646.   get the short name of the target
  647.   if it ="Show Answers" then
  648.     answer "Show all answers?" with "Cancel" or "OK"
  649.     if it is "Cancel" then exit mouseup
  650.  
  651.  
  652.     set the name of the target to "Hide Answers"
  653.  
  654.  
  655.     put line 1 of bkgnd field 3  of card quiz1 into card field id 34 of card quiz
  656.  
  657.     put line 2 of bkgnd field 3  of card quiz1 into card field id 35 of card quiz
  658.  
  659.     put line 3 of bkgnd field 3  of card quiz1 into card field id 36 of card quiz
  660.  
  661.     put line 4 of bkgnd field 3  of card quiz1 into card field id 37 of card quiz
  662.  
  663.     put line 5 of bkgnd field 3  of card quiz1 into card field id 38 of card quiz
  664.   else
  665.     set the name of the target to "Show Answers"
  666.  
  667.     put 34 into zz
  668.     repeat until zz= 39
  669.       put empty into card field  id zz
  670.       add 1 to zz
  671.     end repeat
  672.   end if
  673.  
  674. end mouseUp
  675.  
  676.  
  677.  
  678.  
  679. -- part 34 (field)
  680. -- low flags: 01
  681. -- high flags: 0000
  682. -- rect: left=80 top=68 right=92 bottom=240
  683. -- title width / last selected line: 0
  684. -- icon id / first selected line: 0 / 0
  685. -- text alignment: 0
  686. -- font id: 3
  687. -- text size: 12
  688. -- style flags: 0
  689. -- line height: 16
  690. -- part name: ANSWERAr
  691.  
  692.  
  693. -- part 35 (field)
  694. -- low flags: 01
  695. -- high flags: 0000
  696. -- rect: left=79 top=127 right=151 bottom=239
  697. -- title width / last selected line: 0
  698. -- icon id / first selected line: 0 / 0
  699. -- text alignment: 0
  700. -- font id: 3
  701. -- text size: 12
  702. -- style flags: 0
  703. -- line height: 16
  704. -- part name: ANSWERBR
  705.  
  706.  
  707. -- part 36 (field)
  708. -- low flags: 01
  709. -- high flags: 0000
  710. -- rect: left=80 top=188 right=212 bottom=240
  711. -- title width / last selected line: 0
  712. -- icon id / first selected line: 0 / 0
  713. -- text alignment: 0
  714. -- font id: 3
  715. -- text size: 12
  716. -- style flags: 0
  717. -- line height: 16
  718. -- part name: ANSWERCR
  719.  
  720.  
  721. -- part 37 (field)
  722. -- low flags: 01
  723. -- high flags: 0000
  724. -- rect: left=80 top=250 right=274 bottom=240
  725. -- title width / last selected line: 0
  726. -- icon id / first selected line: 0 / 0
  727. -- text alignment: 0
  728. -- font id: 3
  729. -- text size: 12
  730. -- style flags: 0
  731. -- line height: 16
  732. -- part name: ANSWERDR
  733.  
  734.  
  735. -- part 38 (field)
  736. -- low flags: 01
  737. -- high flags: 0000
  738. -- rect: left=80 top=309 right=333 bottom=240
  739. -- title width / last selected line: 0
  740. -- icon id / first selected line: 0 / 0
  741. -- text alignment: 0
  742. -- font id: 3
  743. -- text size: 12
  744. -- style flags: 0
  745. -- line height: 16
  746. -- part name: ANSWERER
  747.  
  748.  
  749. -- part 39 (button)
  750. -- low flags: 00
  751. -- high flags: A004
  752. -- rect: left=360 top=312 right=341 bottom=463
  753. -- title width / last selected line: 0
  754. -- icon id / first selected line: 0 / 0
  755. -- text alignment: 1
  756. -- font id: 0
  757. -- text size: 12
  758. -- style flags: 0
  759. -- line height: 16
  760. -- part name: Return to Lab
  761. ----- HyperTalk script -----
  762. on mouseUp
  763.   go to card quiz1
  764. end mouseUp
  765.  
  766.  
  767.  
  768. -- part 40 (field)
  769. -- low flags: 01
  770. -- high flags: 0000
  771. -- rect: left=251 top=164 right=295 bottom=504
  772. -- title width / last selected line: 0
  773. -- icon id / first selected line: 0 / 0
  774. -- text alignment: 1
  775. -- font id: 3
  776. -- text size: 12
  777. -- style flags: 256
  778. -- line height: 16
  779. -- part name: instruc
  780. ----- HyperTalk script -----
  781. on mouseup
  782.   hide card field id 40
  783. end mouseup
  784.  
  785.  
  786.  
  787. -- part 41 (button)
  788. -- low flags: 00
  789. -- high flags: 0000
  790. -- rect: left=471 top=312 right=341 bottom=504
  791. -- title width / last selected line: 0
  792. -- icon id / first selected line: 32462 / 32462
  793. -- text alignment: 1
  794. -- font id: 0
  795. -- text size: 12
  796. -- style flags: 0
  797. -- line height: 16
  798. -- part name: help
  799. ----- HyperTalk script -----
  800. on mouseUp
  801.   global flag
  802.  
  803.   push card
  804.  
  805.  
  806.   go to card "help1"
  807.  
  808. end mouseUp
  809.  
  810.  
  811.  
  812. -- part 43 (button)
  813. -- low flags: 00
  814. -- high flags: 8000
  815. -- rect: left=3 top=7 right=40 bottom=37
  816. -- title width / last selected line: 0
  817. -- icon id / first selected line: 0 / 0
  818. -- text alignment: 1
  819. -- font id: 0
  820. -- text size: 12
  821. -- style flags: 0
  822. -- line height: 16
  823. -- part name: off
  824. ----- HyperTalk script -----
  825. on mouseUp
  826.   --global x
  827.  
  828.   get the short name of the target
  829.   if it is "off" then
  830.     set  the name of the target to "on"
  831.     put 48 into x
  832.     repeat until x = 53
  833.  
  834.       set the style of card button id x to transparent
  835.       put x+1 into x
  836.     end repeat
  837.   else
  838.     set  the name of the target to "off"
  839.     put 48 into x
  840.     repeat until x = 53
  841.  
  842.       set the style of card button id x to opaque
  843.       put x+1 into x
  844.     end repeat
  845.  
  846.   end if
  847.  
  848.  
  849.  
  850. end mouseUp
  851.  
  852.  
  853.  
  854. -- part 48 (button)
  855. -- low flags: 00
  856. -- high flags: 0001
  857. -- rect: left=5 top=44 right=72 bottom=33
  858. -- title width / last selected line: 0
  859. -- icon id / first selected line: 0 / 0
  860. -- text alignment: 1
  861. -- font id: 0
  862. -- text size: 12
  863. -- style flags: 0
  864. -- line height: 16
  865. -- part name: checka
  866. ----- HyperTalk script -----
  867.  
  868. on mouseUp
  869.   if the short name of button id 43 is "on" then
  870.     show card field id 34
  871.     put line 1 of bkgnd field 3  of card quiz1 into card field id 34 of card quiz
  872.     wait 2 seconds
  873.     put empty into card field id 34
  874.   end if
  875.  
  876.  
  877. end mouseUp
  878.  
  879.  
  880.  
  881. -- part 49 (button)
  882. -- low flags: 00
  883. -- high flags: 0001
  884. -- rect: left=5 top=105 right=133 bottom=33
  885. -- title width / last selected line: 0
  886. -- icon id / first selected line: 0 / 0
  887. -- text alignment: 1
  888. -- font id: 0
  889. -- text size: 12
  890. -- style flags: 0
  891. -- line height: 16
  892. -- part name: checka
  893. ----- HyperTalk script -----
  894.  
  895. on mouseUp
  896.   if the short name of button id 43 is "on" then
  897.     show card field id 34
  898.     put line 2 of bkgnd field 3  of card quiz1 into card field id 35 of card quiz
  899.     wait 2 seconds
  900.     put empty into card field id 35
  901.   end if
  902.  
  903.  
  904. end mouseUp
  905.  
  906.  
  907.  
  908. -- part 50 (button)
  909. -- low flags: 00
  910. -- high flags: 0001
  911. -- rect: left=5 top=164 right=192 bottom=33
  912. -- title width / last selected line: 0
  913. -- icon id / first selected line: 0 / 0
  914. -- text alignment: 1
  915. -- font id: 0
  916. -- text size: 12
  917. -- style flags: 0
  918. -- line height: 16
  919. -- part name: checka
  920. ----- HyperTalk script -----
  921.  
  922. on mouseUp
  923.   if the short name of button id 43 is "on" then
  924.     show card field id 34
  925.     put line 3 of bkgnd field 3  of card quiz1 into card field id 36 of card quiz
  926.     wait 2 seconds
  927.     put empty into card field id 36
  928.   end if
  929.  
  930.  
  931. end mouseUp
  932.  
  933.  
  934.  
  935. -- part 51 (button)
  936. -- low flags: 00
  937. -- high flags: 0001
  938. -- rect: left=5 top=226 right=254 bottom=33
  939. -- title width / last selected line: 0
  940. -- icon id / first selected line: 0 / 0
  941. -- text alignment: 1
  942. -- font id: 0
  943. -- text size: 12
  944. -- style flags: 0
  945. -- line height: 16
  946. -- part name: checka
  947. ----- HyperTalk script -----
  948.  
  949. on mouseUp
  950.   if the short name of button id 43 is "on" then
  951.     show card field id 34
  952.     put line 4 of bkgnd field 3  of card quiz1 into card field id 37 of card quiz
  953.     wait 2 seconds
  954.     put empty into card field id 37
  955.   end if
  956.  
  957.  
  958. end mouseUp
  959.  
  960.  
  961.  
  962. -- part 52 (button)
  963. -- low flags: 00
  964. -- high flags: 0001
  965. -- rect: left=5 top=287 right=315 bottom=33
  966. -- title width / last selected line: 0
  967. -- icon id / first selected line: 0 / 0
  968. -- text alignment: 1
  969. -- font id: 0
  970. -- text size: 12
  971. -- style flags: 0
  972. -- line height: 16
  973. -- part name: checka
  974. ----- HyperTalk script -----
  975.  
  976. on mouseUp
  977.   if the short name of button id 43 is "on" then
  978.     show card field id 34
  979.     put line 5 of bkgnd field 3  of card quiz1 into card field id 38 of card quiz
  980.     wait 2 seconds
  981.     put empty into card field id 38
  982.   end if
  983.  
  984.  
  985. end mouseUp
  986.  
  987.  
  988.  
  989. -- part contents for card part 26
  990. ----- text -----
  991.  
  992. Please select a reagent
  993.  
  994. bottle (A-E), before
  995.  
  996. selecting a solution.
  997.  
  998. -- part contents for card part 40
  999. ----- text -----
  1000.  
  1001. First click on a bottle (A-E),  then click on a solution(1-7).  To change your selection, click on the bottle again.  To clear all answers, click on the "Clear" button.
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.